Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tóm tắt (tiếng Việt)
Thêm một mục cho người viết migration vào
packages/caramos-ota/MIGRATIONS.md. Từ App Center 1.0, người dùng gỡ được phần lớn gói trên máy, trừ những gì App Center khóa. Vì vậy, migration phải chịu được việc một gói đã bị gỡ: kiểm tra trước, rồi cài lại hoặc bỏ qua, và không bao giờ lỗi. Một migration lỗi chặn mọi bản cập nhật sau nó.PR cũng thêm hai dòng vào checklist, và nhắc người viết migration thêm tên gói mới cài vào
caramos_update_addedcủa App Center.Chỉ sửa tài liệu, không đổi code caramos-ota. PR này để nháp và sẽ được gộp cùng lúc với App Center 1.0.
Summary
Adds a section to
packages/caramos-ota/MIGRATIONS.md. From App Center 1.0 on, people can remove most packages on their computer, except what the App Center locks. So a migration that touches a package that was already installed must cope with the package being gone. It checks first, then reinstalls the package or skips the step, and never fails, because a failed migration blocks every later update. The section points to an existing migration that does this check.Two checklist lines are added. One of them asks migrations that install a new package to add it to the App Center's
caramos_update_addedlist, so that the App Center shows it as part of CaramOS.Docs only, no caramos-ota code change. This PR stays a draft until App Center 1.0 is merged.
Screenshots
How it was tested
20261120100300_external_monitor_brightness, does the check shown and logs and goes on when the reinstall fails.🤖 Generated with Claude Code